]> dgit.raspbian.org Git - dovecot.git/commit
[PATCH 1/2] lib-lda: mail-deliver - Autocreate delivery mailbox via explicit mailbox_...
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Thu, 11 Jun 2026 17:20:32 +0000 (17:20 +0000)
committerNoah Meyerhans <noahm@debian.org>
Wed, 16 Sep 2026 19:06:35 +0000 (15:06 -0400)
commitb103d3992713f5b8d47d33cc70eac0696e7be546
tree54b50628817ef684fe4c5404cdb4e234940f583f
parenta6df4fe6b8663dd4db25715c7d5c66eddfe70ebb
[PATCH 1/2] lib-lda: mail-deliver - Autocreate delivery mailbox via explicit mailbox_create()

Instead of relying on MAILBOX_FLAG_AUTO_CREATE to have mailbox_open()
implicitly create the target, open it and, on MAIL_ERROR_NOTFOUND,
create it explicitly when lda_mailbox_autocreate is enabled. This makes
the creation go through the normal mailbox_create() path (including ACL
checks) and removes one of the two users of the autocreate mailbox flags.

Gbp-Pq: Name 0001-lib-lda-mail-deliver-Autocreate-delivery-mailbox-via.patch
src/lib-lda/mail-deliver.c